package indi.kider.server.schedule.service;

import indi.kider.common.model.bill.Bill;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import pers.vankid.common.model.base.CommonResponse;

import java.util.List;

/**
 * Created by shixj on 2018/5/22.
 */
@FeignClient(value = "balance-bill")
public interface BillService {
    /**
     * 内部服务不显示在api上
     * 每月1号生成上月财务月统计
     *
     * @return
     */
    @PostMapping(value = "bill/count/last-month")
    CommonResponse insertEmployeeBillCount();

    @PutMapping("bill")
    CommonResponse autoBalance();

    @PostMapping("bill/count-type/last-month")
    CommonResponse saveBillCountByTypeModelList();
}
